function (copy_file SOURCE DESTINATION)
    if(WIN32)
        STRING(REGEX REPLACE "/" "\\\\" SOURCE ${SOURCE}) 
        STRING(REGEX REPLACE "/" "\\\\" DESTINATION ${DESTINATION}) 
    endif()	    
   
    message(STATUS " [-->] src: ${SOURCE}")
    message(STATUS " [-->] dst: ${DESTINATION}")

    execute_process(COMMAND copy "${SOURCE}" "${DESTINATION}" OUTPUT_VARIABLE _out)
    message(STATUS "out: ${_out}")

endfunction()

